<nav class="navbar-default navbar-static-side" role="navigation">
	<div class="sidebar-collapse">
		<ul class="nav" id="side-menu">
			<li class="sidebar-search">
				<div class="input-group custom-search-form">
					<input type="text" class="form-control" placeholder="<?php echo $this -> lang -> line('nav_search_placeholder'); ?>">
					<span class="input-group-btn">
						<button class="btn btn-default" type="button">
							<i class="fa fa-search"></i>
						</button> </span>
				</div>
				<!-- /input-group -->
			</li>
			<li>
				<a href="<?php echo base_url();?>" target="_blink"><i class="fa fa-dashboard fa-fw"></i> Visit site</a>
			</li>
			<li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == 'manage_users' || str_replace('-', '_', $this -> uri -> segment(1)) == 'manage_user_permissions') ? 'class="active"' : '' ?>>
				<a href="#"><i class="fa fa-sitemap fa-fw"></i> <?php echo $this -> lang -> line('nav_users'); ?><span class="fa arrow"></span></a>
				<ul class="nav nav-second-level">
					
					<li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == 'manage_users' )? 'class="active"' : '' ?>>
						<a href="#"><i class="fa fa-user fa-fw"></i> <?php echo $this -> lang -> line('nav_users'); ?> <span class="fa arrow"></span></a>
						<ul class="nav nav-third-level">
							<li>
								<a href="<?php echo base_url(); ?>manage-users"><i class="fa fa-list fa-fw"></i> <?php echo $this -> lang -> line('nav_list_users'); ?></a>
							</li>
							<li>
								<a href="<?php echo base_url(); ?>manage-users/insert-user"><i class="fa fa-plus fa-fw"></i> <?php echo $this -> lang -> line('nav_new_user'); ?></a>
							</li>
							
						</ul>
						<!-- /.nav-third-level -->
					</li>
					<li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == 'manage_user_permissions' )? 'class="active"' : '' ?>>
						<a href="#"><i class="fa fa-group fa-fw"></i> <?php echo $this -> lang -> line('nav_user_groups'); ?><span class="fa arrow"></span></a>
						<ul class="nav nav-third-level">
							<li>
								<a href="<?php echo base_url(); ?>manage-user-permissions"><i class="fa fa-list fa-fw"></i> <?php echo $this -> lang -> line('nav_list_user_groups'); ?></a>
							</li>
							<li>
								<a href="<?php echo base_url(); ?>manage-user-permissions/insert-user-permission"><i class="fa fa-plus fa-fw"></i> <?php echo $this -> lang -> line('nav_new_user_groups'); ?></a>
							</li>
							
						</ul>
						<!-- /.nav-third-level -->
					</li>
				</ul>
				<!-- /.nav-second-level -->
			</li>
			<li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == 'manage_product_owners' )? 'class="active"' : '' ?>>
				<a href="#"><i class="fa fa-user-md fa-fw"></i>  Product Owners<span class="fa arrow"></span></a>
				<ul class="nav nav-second-level">
					<li>
							<a href="<?php echo base_url(); ?>manage-product-owners"><i class="fa fa-list fa-fw"></i> List product owners</a>
					</li>
					<li>
							<a href="<?php echo base_url(); ?>manage-product-owners/insert-product-owner"><i class="fa fa-plus fa-fw"></i> New product owner</a>
					</li>
							
				</ul>
				<!-- /.nav-second-level -->
			</li>
			<li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == 'manage_user_products' )? 'class="active"' : '' ?>>
				<a href="#"><i class="fa fa-shopping-cart fa-fw"></i>  User Products<span class="fa arrow"></span></a>
				<ul class="nav nav-second-level">
					<li>
							<a href="<?php echo base_url(); ?>manage-user-products"><i class="fa fa-list fa-fw"></i>List user products</a>
					</li>
							
				</ul>
				<!-- /.nav-second-level -->
			</li>
			<li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == 'manage_slide_promotions' )? 'class="active"' : '' ?>>
				<a href="#"><i class="fa fa-shopping-cart fa-fw"></i> Slide Promotions<span class="fa arrow"></span></a>
				<ul class="nav nav-second-level">
					<li>
							<a href="<?php echo base_url(); ?>manage-slide-promotions"><i class="fa fa-list fa-fw"></i> List Slide Promotions</a>
					</li>
					<li>
							<a href="<?php echo base_url(); ?>manage-slide-promotions/insert-slide"><i class="fa fa-plus fa-fw"></i> New Slide Promotion</a>
					</li>
							
				</ul>
				
			</li>
			<li <?php echo (str_replace('-', '_', $this -> uri -> segment(1)) == 'manage_config' )? 'class="active"' : '' ?>>
				<a href="<?php echo base_url(); ?>manage-config"><i class="fa fa-table fa-fw"></i> <?php echo $this -> lang -> line('nav_store_config'); ?></a>
			</li>
		</ul>
		
		<!-- /#side-menu -->
	</div>
	<!-- /.sidebar-collapse -->
</nav>